home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
c
/
mc51bugs.zip
/
Q33375
< prev
next >
Wrap
Text File
|
1988-08-09
|
1KB
|
46 lines
Q33375 Warning C4060: Conversion of Long Address to Short Address
C Compiler
5.10 | 5.10
MS-DOS | OS/2
Summary:
The warning C4060 occurs when the default optimization is used with
SS != DS in large model. The command line is as follows:
cl -c -Alnw file.c
The following warning is incorrectly generated:
warning C4060: conversion of long address to short address
Microsoft has confirmed this to be a problem in Version 5.10. We
are researching this problem and will post new information as it
becomes available.
This warning can be ignored in this situation. The error is not
generated when optimization is disabled (/Od).
More Information:
The following code illustrates the problem:
void main(void);
void main(void)
{
int parmin[16];
int e[16];
int i;
for (i=0;i<16;i++)
{
if (e[i] == 0)
{
if (parmin[i] == 0)
{
e[i] = 1;
}
}
}
}
Keywords: buglist5.10
Updated 88/08/09 05:59